<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>约见编辑-有点</title>
<link rel="stylesheet" type="text/css" href="/ci/public/admin/css/css.css" />
<script type="text/javascript" src="/ci/public/admin/js/jquery.min.js"></script>
</head>
<body>
	<div id="pageAll">
		<div class="pageTop">
			<div class="page">
				<img src="/ci/public/admin/img/coin02.png" /><span><a href="#">首页</a>&nbsp;-&nbsp;<a
					href="#">角色管理</a>&nbsp;-</span>&nbsp;角色分配
			</div>
		</div>
		<div class="page ">
			<!-- 上传广告页面样式 -->
			<div class="banneradd bor">
			<form action="<?php echo site_url('admin/manage/admin_role') ?>" method="post">
				<div class="baTopNo">
					<span>正在为 <?php echo $admin_arr['admin_name'] ?> 分配角色</span>
					<input type="hidden" name="admin_id" value="<?php echo $admin_arr['admin_id'] ?>" />
				</div>
				<div class="baBody">
		
					<div class="bbD">
						角色：
						<?php foreach ($role_data as $k => $v): ?>
						<label>
						<input type="checkbox" name="role_id[]" 
						<?php foreach ($admin_role as $key => $value): ?>
							<?php if ($v['role_id']==$value['role_id']): ?>
								checked="checked"
							<?php endif ?>
						<?php endforeach ?>
						 value="<?php echo $v['role_id'] ?>" />&nbsp;<?php echo $v['role_name'] ?>
						</label> 
						<?php endforeach ?>
					</div>

					<div class="bbD">
						<p class="bbDP">
							<input type="submit" value="分配" class="btn_ok btn_yes"/>

							<input type="reset" value="取消"  class="btn_ok btn_no"/>
						</p>
					</div>
				</div>
			</form>
			</div>

			<!-- 上传广告页面样式end -->
		</div>
	</div>
</body>
</html>